/*
 * Copyright (c) 2006-2021, RT-Thread Development Team
 *
 * SPDX-License-Identifier: Apache-2.0
 *
 * Change Logs:
 * Date           Author       Notes
 * 2024-06-26     WangJing       the first version
 */
#ifndef SOFTWARE_PHARMACY_H_
#define SOFTWARE_PHARMACY_H_

#include <stdio.h>
#include <string.h>

#define PHARMACY_NUM 2
#define MEDICINE_NUM 12

#define INVALID_MAX_VALUE 161 // 实验阶段一共就160个盒子

void pharmacy_delete(int pharmacyData[PHARMACY_NUM][MEDICINE_NUM],int pharmacyNum,int medicineNum);
int pharmacy_data_process(int pharmacyData[PHARMACY_NUM][MEDICINE_NUM],char* dataAddr,int clear);
void pharmacy_prescription_show(int pharmacyData[PHARMACY_NUM][MEDICINE_NUM]);

#endif /* SOFTWARE_PHARMACY_H_ */
